GtkBuilder: Ensure types are fully initialized
authorMatthias Clasen <mclasen@redhat.com>
Fri, 30 May 2014 16:39:07 +0000 (12:39 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 30 May 2014 16:39:07 +0000 (12:39 -0400)
commit6de6656d1f8d762093fe9d73f2713380573b9e39
treeb0fe43d3a390a229bbfd91386bf64d14315ca16d
parent1153ea86edc978423aa8b2fadfaef6a5e0c742ea
GtkBuilder: Ensure types are fully initialized

Just calling get_type() does not ensure that the signals, properties
and everything else gets set up properly. Ensure it is, by calling
g_type_class_ref() before using the type. This fixes the testcase
added in the previous commit.
gtk/gtkbuilder.c